package cn.ly.proxy.staticProxy;

import cn.ly.proxy.IPerson;

/**
 * 静态代理Demo
 * 创建需要被代理的实际类：Student2
 */
public class Student2 implements IPerson {
    //交学费
    @Override
    public void giveMoney() {
        System.out.println(">>>>>>>Student2 giving Money");
    }
}
